﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfApp6.ViewModels
{
    public class MyValidationRuleViewModel:ObservableObject
    {
        private string _name = "123456789102";

        public string Name
        {
            get { return _name; }
            set 
            { 
                _name = value; 
                OnPropertyChanged();
            }
        }

        private int _age;

        public int Age
        {
            get { return _age; }
            set 
            { 
                _age = value;
                OnPropertyChanged();
            }
        }

    }
}
